<%@ include file="connect.jsp" %>
<%--
  Created by IntelliJ IDEA.
  User: Mery
  Date: 10/25/12
  Time: 11:03 PM
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<link href="style.css" rel="stylesheet"/>

<html>
<head>
    <title></title>
</head>


<body>

<table>

    <tr>
        <td>

            <%
                String idnya = request.getParameter("id");


                ResultSet rs = stat.executeQuery("select * from detailquestion where questionID = '" + idnya + "' ");
                while (rs.next()) {
                    String tipe = rs.getString("StylesID");
                    String detailtest = rs.getString("detailTestID");

                    if (tipe != null && tipe.equals("1")) { %>
            <%@ include file="editPilgan.jsp" %>
            <%} else if (tipe != null && tipe.equals("2")) { %>
            <%@ include file="editVoice.jsp" %>
            <% } else if (tipe != null && tipe.equals("3")) { %>
            <%@ include file="editWriting.jsp" %>
            <%
                    }
                }
            %>

        </td>
    </tr>

</table>

</body>
</html>